package com.rika.dao;

import com.rika.pojo.PoMain;
import com.rika.pojo.SoMain;

import java.util.List;
import java.util.Map;

public interface SomainDao {
    List<SoMain> selectAllSomain(Map<String, Object> params);
    Integer countAll2();
    void addSomain(SoMain soMain);
    void deleteSoMain(Long soId);
    List<SoMain> selectBySoId(Long soId);
    void updateSoMain(SoMain soMain);
    List<SoMain> selectAllSomainForSettle(Map<String, Object> params);
    void settleSoMain(Map<String, Object> params);
    List<SoMain> selectSoMainQuery(Map<String, Object> params);
    List<SoMain> selectSoMainInStore(Map<String, Object> params);
    Integer selectSoMainInStoreCount();
    void updateSoMainToOutStore(Map<String, Object> params);
    List<SoMain> selectSoMainIncome1(Map<String, Object> params);
    Integer selectSoMainIncome1CountAll();
    void updateincome1(SoMain soMain);
    List<SoMain> selectSoMainIncome2(Map<String, Object> params);
    Integer selectSoMainIncome2CountAll();
    List<SoMain> selectSoMainIncome3(Map<String, Object> params);
    Integer selectSoMainIncome3CountAll();
    void updateincome2(SoMain soMain);
    List<SoMain> selectSoMainNum(Map<String, Object> params);
    Integer selectSoMainEndNum(Map<String, Object> params);
    List<SoMain> selectEndSomainPrice(Map<String, Object> params);
    List<SoMain> selectSoMainReportList(Map<String, Object> params);
}
